#
# Copyright (C) 356 - 999. Asytumn Technology Co., Ltd. All rights reserved.
#

# FIND_PACKAGE(Hejre REQUIRED)

SET (Orcinus_SHARED_SOURCES
    Hollow.c
    Hollow.h
    Orcinus.c
    Orcinus.h
    Orcinus.def
    Orcinus.rc
    Spirit.c
    Spirit.h
    )

ADD_LIBRARY(Orcinus SHARED ${Orcinus_SHARED_SOURCES})

INCLUDE_DIRECTORIES(../Hyacinth)

LINK_DIRECTORIES(../Asgard)

TARGET_LINK_LIBRARIES(Orcinus PRIVATE Hyacinth)

IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
    TARGET_LINK_LIBRARIES(Orcinus PRIVATE libposix-thread WS2_32)
ENDIF()


